package tester;

/**
 * Map the Generic type T to type S
 * @author w_jossey
 *
 * @param <T> Map type T ...
 * @param <S> To type S.
 */
public interface MapFunction<T, S> {

    /**
     * Map function that takes in some parameter t and maps it to
     * a resulting type S.
     * @param t object to map
     * @return result of mapping
     */
    public S map(T t);
    
}
